package top.superflow.db.api

trait DBConnection {

  
  def save
  
  def create[T] (entityClass : Class[T]) : Any
  
  def load
  
  def reload
  
  def drop
  
  def command
  
  

  def begin
  
  def commit
  
  def rollback
  
  def getTransaction
  
  
  def getMetadata : DBMetadata
  
  def getName
  
  def getSize
  
  def getStatus
  
  def getUrl
  
  def getUser
  
  
  def release
  
  def close
  
}